/*
 *  Copyright (c) M2TK Project. All rights reserved.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package m2tk.assistant.common.domain;

public class PCRCheck
{
    private int pid;
    private long prevValue;
    private long prevPosition;
    private long currValue;
    private long currPosition;
    private long bitrate;
    private long intervalNanos;
    private long diffNanos;
    private long accuracyNanos;
    private boolean repetitionCheckFailed;
    private boolean discontinuityCheckFailed;
    private boolean accuracyCheckFailed;

    public int getPid()
    {
        return pid;
    }

    public void setPid(int pid)
    {
        this.pid = pid;
    }

    public long getPrevValue()
    {
        return prevValue;
    }

    public void setPrevValue(long prevValue)
    {
        this.prevValue = prevValue;
    }

    public long getPrevPosition()
    {
        return prevPosition;
    }

    public void setPrevPosition(long prevPosition)
    {
        this.prevPosition = prevPosition;
    }

    public long getCurrValue()
    {
        return currValue;
    }

    public void setCurrValue(long currValue)
    {
        this.currValue = currValue;
    }

    public long getCurrPosition()
    {
        return currPosition;
    }

    public void setCurrPosition(long currPosition)
    {
        this.currPosition = currPosition;
    }

    public long getBitrate()
    {
        return bitrate;
    }

    public void setBitrate(long bitrate)
    {
        this.bitrate = bitrate;
    }

    public long getIntervalNanos()
    {
        return intervalNanos;
    }

    public void setIntervalNanos(long intervalNanos)
    {
        this.intervalNanos = intervalNanos;
    }

    public long getDiffNanos()
    {
        return diffNanos;
    }

    public void setDiffNanos(long diffNanos)
    {
        this.diffNanos = diffNanos;
    }

    public long getAccuracyNanos()
    {
        return accuracyNanos;
    }

    public void setAccuracyNanos(long accuracyNanos)
    {
        this.accuracyNanos = accuracyNanos;
    }

    public boolean isRepetitionCheckFailed()
    {
        return repetitionCheckFailed;
    }

    public void setRepetitionCheckFailed(boolean repetitionCheckFailed)
    {
        this.repetitionCheckFailed = repetitionCheckFailed;
    }

    public boolean isDiscontinuityCheckFailed()
    {
        return discontinuityCheckFailed;
    }

    public void setDiscontinuityCheckFailed(boolean discontinuityCheckFailed)
    {
        this.discontinuityCheckFailed = discontinuityCheckFailed;
    }

    public boolean isAccuracyCheckFailed()
    {
        return accuracyCheckFailed;
    }

    public void setAccuracyCheckFailed(boolean accuracyCheckFailed)
    {
        this.accuracyCheckFailed = accuracyCheckFailed;
    }
}
